home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / pyshared / softwareproperties / __init__.py next >
Encoding:
Text File  |  2009-03-27  |  1.4 KB  |  36 lines

  1. #  __init__.py - defines globals
  2. #
  3. #  Copyright (c) 2007 Canonical Ltd.
  4. #
  5. #  Author: Sebastian Heinlein <glatzor@ubuntu.com>
  6. #          Michael Vogt <mvo@debian.org>
  7. #
  8. #  This program is free software; you can redistribute it and/or
  9. #  modify it under the terms of the GNU General Public License as
  10. #  published by the Free Software Foundation; either version 2 of the
  11. #  License, or (at your option) any later version.
  12. #
  13. #  This program is distributed in the hope that it will be useful,
  14. #  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. #  GNU General Public License for more details.
  17. #
  18. #  You should have received a copy of the GNU General Public License
  19. #  along with this program; if not, write to the Free Software
  20. #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  21. #  USA
  22.  
  23. # Level of the update automation
  24. (UPDATE_MANUAL, UPDATE_NOTIFY, UPDATE_DOWNLOAD, UPDATE_INST_SEC) = range(4)
  25.  
  26. # Provide more readable synonyms for apt configuration options
  27. CONF_MAP = {
  28.     "autoupdate"   : "APT::Periodic::Update-Package-Lists",
  29.     "autodownload" : "APT::Periodic::Download-Upgradeable-Packages",
  30.     "autoclean"    : "APT::Periodic::AutocleanInterval",
  31.     "unattended"   : "APT::Periodic::Unattended-Upgrade",
  32.     "max_size"     : "APT::Archives::MaxSize",
  33.     "max_age"      : "APT::Archives::MaxAge"
  34. }
  35.  
  36.